//
//  SlipBackNavigationViewController.m
//  TestPrj
//
//  Created by 朱铅峰 on 2020/1/8.
//  Copyright © 2020 Xing. All rights reserved.
//

#import "SlipBackNavigationViewController.h"

@interface SlipBackNavigationViewController ()<UIGestureRecognizerDelegate>

@end

@implementation SlipBackNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch {
    
    NSLog(@"%s",__func__);
    
    //如果手势是触摸的UISlider滑块触发的，侧滑返回手势就不响应
    if ([touch.view isKindOfClass:[UISlider class]]) {
        return NO;
    }
    return YES;
}

@end
